package com.blacktry.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blacktry.entity.model.ApiResult;
import com.blacktry.entity.easypoidata.DeriveExcel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blacktry.entity.model.ExamManage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author blackTry
 * @since 2021-06-23
 */
public interface DeriveExcelService extends IService<DeriveExcel> {

    Integer insert(DeriveExcel deriveExcel);

    List<DeriveExcel> select(Integer id);

    List<DeriveExcel> selectListByIds(String[] ids);

    List<DeriveExcel> select();

    Page<DeriveExcel> selectPage(DeriveExcel deriveExcel,Page<DeriveExcel> deriveExcelPage);

    Integer updateOrInsert(DeriveExcel deriveExcel);

    Integer updateOrInsert2(DeriveExcel deriveExcel);

    DeriveExcel selectOne(Integer id);

    Integer deleteBatchIds(String[] ids);

    //根据username和examid查询具体考试提交
    List<DeriveExcel> selectDeriveByExamIdAndUsername(String examId, String userName);

//
}
